package demo1;

import java.util.*;

public class Test {
    public static void main(String[] args) {
        int[] arr = {1, 23, 2231, 231, 32, 32, 1123, 45, 34, 2, 432, 234, 324, 3, 32, 43, 2, 234234, 234234};
        Sort.mergeSort3(arr);
        System.out.println(Arrays.toString(arr));
        ArrayList<Queue<Integer>> arrayList = new ArrayList<>(10);
        arrayList.add(new LinkedList<>());
        arrayList.get(0).offer(1);
        arrayList.add(new LinkedList<>());
        arrayList.get(1).offer(1);
        arrayList.get(1).offer(2);
        Queue<Integer>[] array=new Queue[]{new LinkedList()};
        System.out.println(Arrays.toString(array));
        array[0]=new LinkedList<>();
        System.out.println(Arrays.toString(array));


    }
}
